package com.diver.flinkdemo.mapper.mysqlMapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.diver.flinkdemo.entity.xxt.DeviceMode;
import com.diver.flinkdemo.entity.xxt.School;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DeviceModeMapper extends BaseMapper<DeviceMode> {

    List<DeviceMode> getDeviceModeByStudentCardId(@Param("studentCardId") String studentCardId);


    List<DeviceMode> getDeviceModeBySchoolId(@Param("SchoolId") String SchoolId);

    List<DeviceMode> selectSchoolMode(@Param("schoolId") String schoolId);

    List<School> selectUseSchool(@Param("modeId") String modeId);

    DeviceMode getDefaultMode();
}
